package org.parklab.lab.web.client.data.user;

import java.io.Serializable;

public class UserInfo implements Serializable{
	private static final long serialVersionUID = -3238030023513995871L;

	protected String userId;

	protected boolean isLoggedIn = false;

	protected String loginUrl;

	protected String logoutUrl;

	protected String emailAddress;

	protected String nickname;












	public UserInfo() {}



	public String toString() {
		return "UserInfo(" + Integer.toString(this.hashCode()) + 
		"): isLoggedIn(" + this.isLoggedIn +
		"), userId(" + this.userId +
		"), nickname(" + this.nickname +
		"), emailAddress(" + this.emailAddress +
		")";
	}





	/**
	 * @param isLoggedIn the isLoggedIn to set
	 */
	public void setLoggedIn(boolean isLoggedIn) {
		this.isLoggedIn = isLoggedIn;
	}





	/**
	 * @return the isLoggedIn
	 */
	public boolean isLoggedIn() {
		return isLoggedIn;
	}





	/**
	 * @return the loginUrl
	 */
	public String getLoginUrl() {
		return loginUrl;
	}





	/**
	 * @param loginUrl the loginUrl to set
	 */
	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}





	/**
	 * @return the logoutUrl
	 */
	public String getLogoutUrl() {
		return logoutUrl;
	}





	/**
	 * @param logoutUrl the logoutUrl to set
	 */
	public void setLogoutUrl(String logoutUrl) {
		this.logoutUrl = logoutUrl;
	}





	/**
	 * @return the emailAddress
	 */
	public String getEmailAddress() {
		return emailAddress;
	}





	/**
	 * @param emailAddress the emailAddress to set
	 */
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}





	/**
	 * @return the nickname
	 */
	public String getNickname() {
		return nickname;
	}





	/**
	 * @param nickname the nickname to set
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}





	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}





	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}




}